<ui-view>
    <div class="xgsj-bg xgsj-wg-lastmg zbdp1">
        <header class="common_head-box">
            <div class="common_head" style="display: block">
                <img src="image/back.png" ng-click="backButton()" alt=""/>
                <span>{{comment_count}}</span><span>条评论</span>
            </div>
        </header>
        <div class="zbdp-wrap">
            <div class="syly-win-main syly-dajilao" ng-repeat="(k,i) in comment" repeat-finish="repeatDone()" id="msg_{{i.comment_id}}">
                <div class="syly-win-main-liuyan">
                    <div class="syly-win-main-liuyan-img">
                        <img ng-src="{{i.vip_pic}}"/>
                    </div>
                    <div class="syly-win-main-liuyan-text">
                        <div class="syly-win-main-liuyan-text-name">
                            {{i.name|limitTo:10}}
                        </div>
                        <div class="syly-win-main-liuyan-text-neirong">
                            {{i.remark}}
                        </div>
                    </div>
                    <div class="syly-win-main-liuyan-date clearfix">
                        <span>{{i.is_add_time}}</span>
                    </div>
                    <div class="syly-win-main-liuyan-caozuo">
                        <div class="syly-win-main-liuyan-caozuo-huifu" ng-click="pingLun.comment($event,'comment')">
                            <div class="syly-win-main-liuyan-caozuo-huifu-img">
                                <img src="image/huifuxiaxi.png"/>
                            </div>
                            <div>回复</div>
                        </div>
                        <div class="syly-win-main-liuyan-caozuo-zan">
                            <div class="syly-win-main-liuyan-caozuo-zan-img" comment="{{i.comment_id}}"
                                 detail="{{j.detail_id}}" ng-click="dianzanhf(i.comment_id,j.detail_id,$index,-1)">
                                <img src="image/zan.png" ng-if="i.is_zan==0"/>
                                <img src="image/redzan.jpg" ng-if="i.is_zan==1"/>
                            </div>
                            <div class="zans">{{i.zan}}</div>
                        </div>
                    </div>
                </div>
                <div class="syly-win-main-huifu" ng-repeat="(key,j) in i.detail">
                    <div class="syly-win-main-huifu-neirong">
                        <div class="syly-win-main-liuyan-img">
                            <img ng-if="(j.detail_vip_pic!=null)" ng-src="{{j.detail_vip_pic}}"/>
                            <img ng-if="(j.detail_vip_pic==null)" src="image/baobei.png"/>
                        </div>
                        <div class="syly-win-main-liuyan-text-name">
                            {{j.nickname|limitTo:10}} 回复 {{j.reply_nickname|limitTo:10}}
                        </div>
                        <div class="syly-win-main-liuyan-text">
                            <div class="syly-win-main-liuyan-text-neirong">
                                {{j.reply_content}}
                            </div>
                        </div>
                        <div class="syly-win-main-liuyan-caozuo">
                            <div ng-click="pingLun.comment($event,'reply')" class="syly-win-main-liuyan-caozuo-huifu">
                                <div class="syly-win-main-liuyan-caozuo-huifu-img">
                                    <img src="image/huifuxiaxi.png"/>
                                </div>
                                <div>回复</div>
                            </div>
                            <div class="syly-win-main-liuyan-caozuo-zan">
                                <div class="syly-win-main-liuyan-caozuo-zan-img" comment="{{i.comment_id}}"
                                     detail="{{j.detail_id}}" ng-click="dianzanhf(i.comment_id,j.detail_id,k,key)">
                                    <img src="image/zan.png" ng-if="j.is_zan==0"/>
                                    <img src="image/redzan.jpg" ng-if="j.is_zan==1"/>
                                </div>
                                <div class="zanhfs">{{j.zan}}</div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <div class="zbdp-footer sypl position">
            <div class="zbdp-footer-huifu">
                <div class="zbdp-footer-huifu-ren disnone">
                    回复<span id="userid">{{hfuserid}}</span>：
                </div>
                <div class="zbdp-footer-huifu-x disnone" ng-click="pingLun.cancel()">
                    x
                </div>
                <input ng-focus="change()" class="zbdp-footer-input" ng-keyup="pingLun.pinglunsend($event)" id="zbdp-comment" type="text"
                       name="" value="" placeholder="与姐妹们讨论下吧....">
            </div>
            <div class="zbdp-footer-right">
                <div ng-click="pingLun.pinglunsend($event,1)" style="color: #fff;line-height: 72px;font-size: 0.8rem;">
                    发送
                </div>
            </div>
        </div>
    </div>
</ui-view>
